<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>CheLive: CoreShader: Класс TShader</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<a name="TShader"></a><h1 class="cio">Класс TShader</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Описание</a></td><td><a class="section"  href="#%40Hierarchy">Иерархия</a></td><td><a class="section"  href="#%40Fields">Поля</a></td><td><a class="section"  href="#%40Methods">Методы</a></td><td>Свойства</td></tr></table>
<a name="%40Description"></a><h2 class="unit">Модуль</h2>
<p class="unitlink">
<a   href="CoreShader.html">CoreShader</a></p>
<h2 class="declaration">Объявления</h2>
<p class="declaration">
<code>type TShader = class(<a class="normal"  href="CoreTypes.TListItem.html">TListItem</a>)</code></p>
<h2 class="description">Описание</h2>
<p>
Шейдер     </p>
<a name="%40Hierarchy"></a><h2 class="hierarchy">Иерархия</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="ancestor"><a class="normal"  href="CoreTypes.TListItem.html">TListItem</a></li>
<li class="thisitem">TShader</li></ul><h2 class="overview">Обзор</h2>
<a name="%40Fields"></a><h3 class="summary">Поля</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreShader.TShader.html#fileName">fileName</a></b>: String;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreShader.TShader.html#vert">vert</a></b>: TGLuint;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreShader.TShader.html#frag">frag</a></b>: TGLuint;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreShader.TShader.html#prog">prog</a></b>: TGLuint;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code><b><a   href="CoreShader.TShader.html#uniforms">uniforms</a></b>: <a   href="CoreShader.html#TShaderUniforms">TShaderUniforms</a>;</code></td>
</tr>
</table>
<a name="%40Methods"></a><h3 class="summary">Методы</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreShader.TShader.html#Load">Load</a></b>(fileName_: String): Boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>procedure <b><a   href="CoreShader.TShader.html#Enable">Enable</a></b>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>class procedure <b><a   href="CoreShader.TShader.html#Disable">Disable</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <b><a   href="CoreShader.TShader.html#Uniform">Uniform</a></b>(name_: String): <a   href="CoreShader.TShaderUniform.html">TShaderUniform</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <b><a   href="CoreShader.TShader.html#Create">Create</a></b>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <b><a   href="CoreShader.TShader.html#Destroy">Destroy</a></b>; override;</code></td>
</tr>
</table>
<h2 class="description">Описание</h2>
<h3 class="detail">Поля</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="fileName"></a><code><b>fileName</b>: String;</code></td>
</tr>
<tr><td colspan="2">
<p>
имя файла из которого загружен шейдер</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="vert"></a><code><b>vert</b>: TGLuint;</code></td>
</tr>
<tr><td colspan="2">
<p>
идентификатор вершинного шейдера</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="frag"></a><code><b>frag</b>: TGLuint;</code></td>
</tr>
<tr><td colspan="2">
<p>
идентификатор фрагментного шейдера</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="prog"></a><code><b>prog</b>: TGLuint;</code></td>
</tr>
<tr><td colspan="2">
<p>
идентификатор шейдерной программы</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="uniforms"></a><code><b>uniforms</b>: <a   href="CoreShader.html#TShaderUniforms">TShaderUniforms</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
массив когда-либо искомых <a class="normal"  href="CoreShader.TShader.html#Uniform">uniform</a>-переменных </p>
<h6 class="description_section">Материалы по теме</h6>
<dl class="see_also">
  <dt><a class="normal"  href="CoreShader.TShader.html#Uniform">TShader.Uniform</a></dt>
  <dd></dd>
</dl>
</td></tr>
</table>
<h3 class="detail">Методы</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Load"></a><code>function <b>Load</b>(fileName_: String): Boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
Загрузка шейдера из файла  </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>fileName_</dt>
<dd>имя файла</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">True если шейдер загружен, скомпилирован и слинкован</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Enable"></a><code>procedure <b>Enable</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Включение шейдера</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Disable"></a><code>class procedure <b>Disable</b>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Выключение шейдера</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Uniform"></a><code>function <b>Uniform</b>(name_: String): <a   href="CoreShader.TShaderUniform.html">TShaderUniform</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
Получение <code>uniform</code>-переменной  </p>
<h6 class="description_section">Параметры</h6>
<dl class="parameters">
<dt>name_</dt>
<dd>имя переменной</dd>
</dl>
<h6 class="description_section">Возвращаемые значения</h6>
<p class="return">экземпляр класса <a class="normal"  href="CoreShader.TShaderUniform.html">TShaderUniform</a> для выполения операций над переменной</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Create"></a><code>constructor <b>Create</b>;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a   href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><a name="Destroy"></a><code>destructor <b>Destroy</b>; override;</code></td>
</tr>
<tr><td colspan="2">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Сгенерировал <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> дата/время 2010-05-02 13:43:33</em>
</span>
</body></html>
